<html>
<head>

    <script type="text/javascript">
        //var top = window.dialogArguments;
    </script>

    <script type="text/javascript" src="/components_cb/client/scriptinc_js.htm"></script>

    <script type="text/javascript" src="/components_cb/client/scriptinc_nocache_js.htm"></script>

    <script type="text/javascript" src="/components_cb/client/htmlstart.min.js"></script>

    <!--<%'--------------------------    Server side includes  -------------------------%>-->
    <!-- #include virtual="/components_cb/client/initDialogEnv_tagged.inc"-->
    <!-- #include virtual='/components_cb/server/colors.inc'-->
    <!-- #include virtual='/components_cb/server/controls.inc' -->
    <!-- #include virtual='/components_cb/server/uifeatures.inc'-->
    <!-- #include virtual='/components_cb/server/BusinessLogicServer.inc'-->
    <!--<%'--------------------------    Create global Variables  ----------------------%>-->

    <script type="text/javascript">
        var ProfileID = top.GetPSCurrent("leaseID");
    </script>

    <!--<%'--------------------------    XML Islands ----------------------%>-->

    <script type="text/javascript">
        var xmlResponse = NewXmlDOM(false);
        var xmlRenewOffer = NewXmlDOM(false);
        var xmlInputParams = NewXmlDOM(false);
        var xmlEmailInfo = NewXmlDOM(false);
        var xmlEmailAddresses = NewXmlDOM(false);
        var xmlProspect = NewXmlDOM(false);
        var xmlEmailPacket = NewXmlDOM(false);

        var emailXML = NewXmlDOM(false);
        var semailXML = "<Send><Row mailto='' mailfrom=''	mailsubject=''	urlToPost='' attachmentText=''	urlEncode='' /></Send>";
        emailXML.loadXML(semailXML);


        var activityProspectXML = NewXmlDOM(false);
        var sactivityProspectXML = "<root><Activity gcardID='' actID='' completeBit=''><Row gjtypeID='S000000010' gcjnlUnitID='' quoteID='' taskID='' gcjnlComments='' gcjnlCreatorID='' actID='' gcActionDate='' gcActionTime='' /></Activity><Prospect><Row status='' lossReason='' agentCode='' /></Prospect></root>";
        activityProspectXML.loadXML(sactivityProspectXML);

        var activityResidentXML = NewXmlDOM(false);
        var sactivityResidentXML = "<insert><Row leaseID='' BuildingID='' UnitID='' NoteID='' Date_Of_Note='' Type_Of_Note='' Comments='' completeFollowUp='0' /></insert>";
        activityResidentXML.loadXML(sactivityResidentXML);
    </script>

    <script type="text/javascript">

var leaseID=top.GetPSCurrent("leaseID");
var resmID= top.GetPSCurrent("resmID");
var unitID=top.GetPSCurrent("unitID");
var statusID=top.GetPSCurrent("statusID");
var renewAgent=top.GetPSCurrent("renewAgent");
var currentRent=0.0000, marketRent=0.0000, newRent=0.0000;
var bRevMgt=<%if bRevenuemgmt="1" then%>true<%else%>false<%end if%>; //Revenue Management = Best price
var sUseRentStabilization = top.gUseRentStabilizationBit; // fatnocache_vb.asp
var sText = "";
var strName = "";
var IACTemplateFolder = "iac";
var AdditionalFormsEmail = "";
var nApps = null;
var svbodyColor, svHeight;
var oMemberRows; 

//InitialLoad_Start();

function InitialLoad_Start(){
	var strXMLRequest =	"<root><Renew><Row "+
		"UnitID='"+unitID+"' "+
		"leaseID='" + leaseID + "'	"+
		"UseRentStabilization='" + sUseRentStabilization + "' " +	// defect 27416
		"UseRevenueManagement='" + bRevMgt + "' "+
		"/></Renew></root>";
	InitialLoad_GetData("rents","new_resident/renewaloffer/renewalofferinitialbl.asp",strXMLRequest,true);
}

function InitialLoad_onDataReady() {
	InitialLoad_FillXML("root>LeaseTerms", "xmlResponse", "");
	InitialLoad_FillXML("root>RenewOffer", "xmlRenewOffer", "");
	
	top.resizeDialog(bUsingIframe);
    top.setCustomDialogWidth(650);
    top.setCustomDialogHeight(550);
    top.setActionButtonsPosition(0, 0, window);
}

function InitialLoad_onComplete() {
	Controls_Initialize();
	initialize();
	Controls_WATCH_Initialize();

}

function initialize() {

    if (PageState_Current.Exists('xmlEmailPacket')) {
	    xmlEmailPacket.loadXML(top.SetPSCurrent('xmlEmailPacket'));
        oMemberRows = $(xmlEmailPacket).find("Members>Row");
        }

    var sXML = "<root><Row leaseID='"+top.GetPSCurrent("leaseID")+"'/></root>"
    var oResult1 = top.objHTMUtils.NewPost("rents","new_resident/RenewalOffer/EmailOfferPreviewBL.asp", sXML);
    strSiteAddress=$($(oResult1).find("PropertyListing_AddressSelect>Row").get(0)).attr("propAddress");

	var welcomeHomeBit = $($(oResult1).find("PropertySite_WelcomeHomeBit>Row")).attr("welcomeHomeBit");

    if($(oResult1).find("PropertySite_WelcomeHomeBit>Row").length>0)
    {
        AdditionalFormsEmail=$($(oResult1).find("PropertySite_AdditionalFormsEmail>Row")).attr("blurbText");
    }
    
	if (AdditionalFormsEmail==null)
	    AdditionalFormsEmail="";

	obj=document.getElementById("customText");
	$('#customText').attr("innerHTML",unescape(AdditionalFormsEmail));
    var sXML = "<root><Row leaseID='"+top.GetPSCurrent("leaseID")+"' resmID='" + top.GetPSCurrent("resmID") + "' unitID='"+ unitID +"' /></root>";
    var oResult = top.objHTMUtils.NewPost("rents","new_resident/renewaloffer/renewalOfferEmailSelectBL.asp", sXML);
    var strServicePhone=$($(oResult).find("PropertyWebPath>Row").get(0)).attr("sitePhone");//oResult.selectSingleNode("//PropertyWebPath/Row").getAttribute("sitePhone")
    var strServiceEmail=$($(oResult).find("PropertyWebPath>Row").get(0)).attr("siteEmail");//oResult.selectSingleNode("//PropertyWebPath/Row").getAttribute("siteEmail")
    var LeasingStaffEmailRows=""
    var strLeasingAgentEmail= "";
   	var strLeasingAgentName="";

	var propertyURL = $($(oResult).find("PropertyWebPath>Row").get(0)).attr("siteURL");//oResult.selectSingleNode("//PropertyWebPath/Row").getAttribute("siteURL");
	var index = propertyURL.indexOf("/");
	var domain = propertyURL.substring(0,index);

    LeasingStaffEmailRows=$(oResult).find("LeasingStaffEmail>Row");//oResult.selectNodes("//LeasingStaffEmail/Row");
    for (var n =0;n<LeasingStaffEmailRows.length; n++)
    {
        strLeasingAgentEmail += $(LeasingStaffEmailRows[n]).attr("EmailAddress")+ ";" ;//LeasingStaffEmailRows[n].getAttribute("EmailAddress")+ ";" ;
        strLeasingAgentName =$(LeasingStaffEmailRows[n]).attr("FullName");//LeasingStaffEmailRows[n].getAttribute("FullName");
    }

    var strResidentAddress =ResidentAddress(oResult);
    var strResidentAddress1=strResidentAddress.split('|');

	var sTemplatePath=$($(oResult).find("CfaSettings>Row").eq(0)).attr("cfaTemplatePath");//oResult.selectSingleNode("//CfaSettings/Row").getAttribute("cfaTemplatePath");
	var strServicePath=$($(oResult).find("PropertyWebPath>Row").eq(0)).attr("siteURL");//oResult.selectSingleNode("//PropertyWebPath/Row").getAttribute("siteURL")
    //if (isNull(ResidentAdd))
    if (strName.length === 0)
        strName = top.GetPSCurrent("MemberName");//PageState_Current('MemberName');

    var SiteAddress = top.objHTMUtils.NewPost("rents", "new_resident/renewaloffer/EmailOfferPreviewBL.asp", sXML);
    strSiteAddress=$($(SiteAddress).find("PropertyListing_AddressSelect>Row").get(0)).attr("propAddress");//SiteAddress.selectSingleNode("//PropertyListing_AddressSelect/Row").getAttribute("propAddress");
    $(msg2).attr("innerHTML",strSiteAddress.substring(0, strSiteAddress.indexOf('(')) + '<br />' + strSiteAddress.substring(strSiteAddress.indexOf('(')));
    var strPropertyEmail="";
    var PropertyEmailRows="";
    PropertyEmailRows=$(SiteAddress).find("PropertySite_Email>Row");
    for (var n =0;n<PropertyEmailRows.length; n++)
    {
        if ( $(PropertyEmailRows[n]).attr("propETypeName")=== "Renewal notice" && $(PropertyEmailRows[n]).attr("peEmailAddress")!==undefined)
            {
                strPropertyEmail +=  $(PropertyEmailRows[n]).attr("peEmailAddress")+ ";" ;
            }
    }
     
   	var strEmailText ="";
   	if (strLeasingAgentEmail===null || strLeasingAgentEmail==="" || strLeasingAgentName==="Leasing Staff")
   	{
   	    strEmailText ="the leasing office";
   	}
    if (strLeasingAgentEmail===null || strLeasingAgentEmail==="" )     
    {
        strLeasingAgentEmail = strPropertyEmail;
        if(strLeasingAgentEmail===null ||strLeasingAgentEmail==="")
        strLeasingAgentEmail = strServiceEmail;
    }

   	if(strEmailText==="")
   	{
   	    strEmailText=strLeasingAgentEmail;
   	}

    stext="";
    sText="<table width='100%'>"
    sText = sText  + "<tr><td style='font:10pt Arial;width:100%'>";
    sText = sText  + "There are documents for "+  top.gPropertyName +  " that we need for you to review and sign. For your convenience, we have made them available online.";     
    sText = sText  + "</td></tr>";
    sText = sText  + "<tr><td width='100%' style='font:10pt Arial;'>";
    sText = sText  + "</td></tr>";
    sText = sText  + "</table>";
    $(msg3).attr("innerHTML","If you have any question please call me at " + strServicePhone + " or send me an email at <a href=mailto:" +  strLeasingAgentEmail + " > " + strEmailText + " </a>.<br/><br/>");
    $(msgText).attr("innerHTML",sText);
    $(msgTitle).attr("innerHTML","<table width='100%'><tr><td  style='font:italic 14pt Arial;color=#000;'>"+  top.gPropertyName +  "</td><td style='font-size:8pt;text-align:right;color=#000;'></td></tr></table>");
    $(msgHeader).attr("innerHTML",strName + "<br/>"  + strResidentAddress1[0] + "<br/>" + strResidentAddress1[1] + "<br/><br/><br/> Dear " + strName + ",<br/><br/>");

    if (welcomeHomeBit === "True")   {
        if (oMemberRows.length > 0 )    // may be a widget url.  All signature members get a url from the sproc for the res portal product
    	    $(msgBottom).attr("innerHTML","Please take a moment to review and sign the documents online at <br/><a href='" + $(oMemberRows[0]).attr("TemplatePath") + "'></a><u>"+ $(oMemberRows[0]).attr("TemplatePath") + "</u>");
        else
	        $(msgBottom).attr("innerHTML","Please take a moment to review and sign the documents online at <br/><a href='http://" + domain + "/welcomehome?siteId=" +  top.gPropertyID  + "'></a><u>http://"+ domain + "/welcomehome?siteId=" +  top.gPropertyID  + "</u>");
        }
    else
	    $(msgBottom).attr("innerHTML","Please take a moment to review and sign the documents online at <br/><a href='http://" + strServicePath + "/default.asp?portallogin=1'></a> <u>http://" + strServicePath + "/default.asp?portallogin=1</u>");

    $(msgFooter).attr("innerHTML","<br><br>Sincerely, <br>"+strLeasingAgentName);
    $(msg1).attr("innerHTML","Pay your rent online any time of the day, wherever you happen to be. It's easy, secure, and takes just a few minutes. With our online rent Payment service, you can pay rent online one time or setup a recurring payment and never worry about it again.");
    $(msg1).attr("innerHTML","");

}

//KSampath for defect 172367
function HtmlEncodeAtt(s) {
	var reAmp = new RegExp("&","g");
	var reGt = new RegExp(">","g");
	var reLt = new RegExp("<","g");
	var reQuote = new RegExp('"',"g");
	var reApos = new RegExp("'","g");
	s = s.replace(reAmp, "&amp;");
	s = s.replace(reGt, "&gt;");
	s = s.replace(reLt, "&lt;");
	s = s.replace(reQuote, "&quot;");
	s = s.replace(reApos, "&apos;");
	return s;
}


function doClose() {
    top.SetPSCurrent("mailSent", false);//PageState_Current("mailSent") = false;
    //window.close();
    top.hideDialog(window.returnValue, window, bUsingIframe);
}

function ResidentAddress(xmlResidentAdd) {
    ResidentAdd = $(xmlResidentAdd).find("ResidentAddress>Row").get(0);//xmlResidentAdd.selectSingleNode("//ResidentAddress/Row");
    var strAddress = "";
    if (isNull(ResidentAdd))//(ResidentAdd == null)
        return strAddress;
    if ($(ResidentAdd).attr("unitAddress1")!==undefined && $(ResidentAdd).attr("unitAddress1") !== "")
        strAddress = $(ResidentAdd).attr("unitAddress1") + " ";
     if ($(ResidentAdd).attr("unitAddress2")!==undefined && $(ResidentAdd).attr("unitAddress2") !== "")
        strAddress += $(ResidentAdd).attr("unitAddress2") + " ";
    strAddress += "|";
    if ($(ResidentAdd).attr("unitCityName")!==undefined && $(ResidentAdd).attr("unitCityName") !== "")
        strAddress += $(ResidentAdd).attr("unitCityName") + ", ";
    if ($(ResidentAdd).attr("unitState")!==undefined && $(ResidentAdd).attr("unitState") !== "")
        strAddress += $(ResidentAdd).attr("unitState") + " ";
    if ($(ResidentAdd).attr("unitZip")!==undefined && $(ResidentAdd).attr("unitZip") !== "")
        strAddress += $(ResidentAdd).attr("unitZip") + " ";

    return strAddress
}

function makeArray() {
    for (i = 0; i < makeArray.arguments.length; i++)
        this[i + 1] = makeArray.arguments[i];
}
function nowDate(inputdate) {
    var months = new makeArray("Jan", "Feb", "March", "April", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec");
    var date = new Date(inputdate);
    var day = date.getDate();
    var month = date.getMonth() + 1;
    var yy = date.getYear();
    var year = (yy < 1000) ? yy + 1900 : yy;
    return nowDate = months[month] + " " + day + "," + year;
}

function doSend() {
    var fromaddress;
    var sXML = "<root><Row leaseID='" + top.GetPSCurrent("leaseID") + "' resmID='" + top.GetPSCurrent("resmID") + "' unitID='" + unitID + "' /></root>";
    var oResult = top.objHTMUtils.NewPost("rents", "new_resident/renewaloffer/renewalOfferEmailSelectBL.asp", sXML);

    var strResidentAddress = ResidentAddress(oResult);
    var strResidentAddress1 = strResidentAddress.split('|');

    //var sTemplatePath = oResult.selectSingleNode("//CfaSettings/Row").getAttribute("cfaTemplatePath");
    var sTemplatePath = $($(oResult).find("CfaSettings>Row").get(0)).attr("cfaTemplatePath");

    var strName = "";
    var oRow;

    // build Email Body
    var strFooter = $(msg1).attr("innerHTML");
    $(msg1).attr("innerHTML", "<table border=0 width='80%'><tr><TD style='font-family:Arial;color:#000;font-size:12pt;'>" + strFooter + "</TD>");
    $(msg1).attr("innerHTML",  $(msg1).attr("innerHTML")+"<table border=0  width='80%'><tr><td style='font: 14pt Arial; color:#000' align='center'>" + $(msg2).attr("innerHTML") + "</td></tr></table>");
    $(msgText).attr("innerHTML","<table width='80%'><tr><td>" + sText + "</td><td style='font-family:tahoma,arial,helvetica,helv,swiss;padding:10px;' align='center'>" + $(msgText1).attr("innerHTML") + "</td></tr></table>");
    $(msgTitle).attr("innerHTML", $(msgTitle).attr("innerHTML").replace("100%", "80%"));
    for (var i = 0; i < oMemberRows.length; i++) {
        oRow = $(emailXML).find("Send>Row")[0];//emailXML.documentElement.firstChild;
        fromaddress = GetFromAddress(sTemplatePath)
        oRow.setAttribute("mailfrom", fromaddress);
        oRow.setAttribute("mailto", $(oMemberRows[i]).attr("Name"));
        oRow.setAttribute("mailsubject", "Lease Documents Signature");
        oRow.setAttribute("emailfrom", fromaddress);
        oRow.setAttribute("emailto", $(oMemberRows[i]).attr("EMail"));
        oRow.setAttribute("emailsubject", "Lease Documents Signature");
        oRow.setAttribute("emailCategory", "ResidentNoReply");

        strName = $(oMemberRows[i]).attr("Name");
        msgHeader.innerHTML = strName + " <br/>" + strResidentAddress1[0] + "<br/>" + strResidentAddress1[1] + "<br/><br/><br/> Dear " + strName + ",<br/><br/>";
        oRow.setAttribute("emailMessage", "<Table ><tr><td  style='vertical-align:top;width:50%;padding:5px;font:  10pt Arial;' norap='true'>" + $(msgTitle).attr("innerHTML") + $(msgHeader).attr("innerHTML") + $(msgText).attr("innerHTML") + unescape(AdditionalFormsEmail) + "<br /><br />" + $(userText).val() + "<br /><br />" + $(msgBottom).attr("innerHTML") + "<br /><br /><br /><br />" + $(msg3).attr("innerHTML") + $(msgFooter).attr("innerHTML") + $(msg1).attr("innerHTML") + "</td></tr></table>");
        var sXML = emailXML.xml;
        //Send Email
        var oResult = top.objHTMUtils.NewPost("rents", "new_resident/sendemail/sendCrossfireEmailBL.asp", sXML);
        if ($($(oResult).find("Row").eq(0)).attr("emaildone"))
            top.SetPSCurrent("mailSent",true);//PageState_Current("mailSent") = true;
    }
    //window.close();
    top.hideDialog(window.returnValue, window, bUsingIframe);
}

//introduced for Email genericizing.
function GetFromAddress(sTemplatePath) {
    var strFrom;
    if ("iac" === sTemplatePath.toLowerCase()) {
        strFrom = "NoReply-PaymentsRenewals@irvinecompany.com";
    }
    else {
        strFrom = top.gPropertyName.replace(" ", "") + "CrossFire@Email.CrossFire.RealPage.com";
    }

    var sXML = "<root><Row mailfrom='" + strFrom + "' /></root>";

    var oResult2 = top.objHTMUtils.NewPost("rents", "new_resident/sendemail/EmailSvc.asp", sXML);
    
    if ($(oResult2).length>0) {
        strFrom = $($(oResult2).find("EmailSerivce>Row").get(0)).attr("mailfrom");
    }
    else {
        strFrom = strOrgFrom;
    }

    return strFrom
}

function checkMaxlength() {
    if (userText.value.length <= 255) {
        top.SetPSCurrent("userText",top.GetPSCurrent("userText") + userText.value);//PageState_Current("userText") = top.GetPSCurrent("userText") + userText.value;
    }
    else {
        userText.value = top.GetPSCurrent("userText");
    }
}

    </script>

    <!--Copyright  2000 by RealPage, Inc. All rights reserved.-->
    <title>Lease Documents Signature</title>
    <link rel="stylesheet" href="/components_cb/styles/base.css">
    <link rel="stylesheet" href="/components_cb/styles/form.css">
    <style type="text/css">
        p
        {
            margin-top: .5em;
            margin-bottom: .25em;
        }
        .address
        {
            text-align: left;
            font-size: x-small;
            margin-top: .5em;
        }
        .list
        {
            text-align: left;
            font-size: x-small;
            margin-top: .5em;
        }
        .body
        {
            text-align: justify;
            font-size: x-small;
        }
        .bodyitalic
        {
            text-align: justify;
            font-size: x-small;
            font-style: italic;
        }
        .smallhead
        {
            text-align: left;
            font-size: x-small;
            margin-top: .25em;
            font-weight: bold;
        }
        .largehead
        {
            text-align: center;
            font-size: x-large;
            margin-top: .25em;
            font-weight: bold;
        }
    </style>
</head>
<%call CreateImports("errorhandling")%>
<body class="iemodal" id="body" style="margin-bottom: 0px; margin-left: 3px; margin-right: 0px;
    margin-top: 0px; background-color: white;" tabindex="-1">
    <div id="ltrDiv" style="height: 50%; width: 100%;">
        <font size='10'>
            <table width='100%' border='0' cellspacing="0" cellpadding="0">
                <tr>
                    <td>
                        <table style="height: 30%; width: 100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td colspan="2">
                                    <span id="msgTitle" style="font: italic normal bolder 10pt Arial;"></span>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <span id="msgLogo"></span>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <span id="msgHeader" style="font: 10pt Arial;"></span>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                </td>
                            </tr>
                            <tr>
                                <td width='100%'>
                                    <span id='msgText' style="font: 10pt Arial;"></span>
                                </td>
                                <td rowspan="2" style="text-align: right; vertical-align: middle" width='20%'>
                                    <span id='msgText1' style="font-size: 8pt; vertical-align: middle"></span>
                                </td>
                            </tr>
                            <tr>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table>
                            <tr>
                                <td>
                                </td>
                                <td rowspan="2" style="text-align: left; font: 10pt Arial; vertical-align: middle"
                                    width='100%'>
                                    <div id="customText" style="text-align: left; overflow: auto">
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table>
                            <tr>
                                <td width='100%' style='text-align: left; font: 10pt Arial;'>
                                    <textarea rows="5" cols="1" style="width: 600px; height: 80px; font: 10pt Arial;
                                        overflow: scroll;" id="userText" onkeypress="checkMaxlength()"></textarea>
                                </td>
                                <td rowspan="2">
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table>
                            <tr>
                                <td colspan="2">
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <span id="msgBottom" style="font: 10pt Arial;"></span>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table>
                            <tr>
                                <td width='100%' style='text-align: left; font: 10pt Arial;'>
                                    <span id="msg3" style="font: 10pt Arial;"></span>
                                </td>
                                <td rowspan="2">
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table>
                            <tr>
                                <td colspan="2">
                                    <span id="msgFooter" style="font: 10pt Arial;"></span>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table width="100%">
                            <tr>
                                <td>
                                    <span id="msg1" style="font: 10pt Arial; color: #000;"></span>
                                </td>
                                <td style="font: 14pt Arial; color: White; display: none;">
                                    Pay your rent online.
                                </td>
                                <td>
                                    <span id="IMGgirl" style="display: none;"></span>
                                </td>
                            </tr>
                        </table>
                        <table width="100%">
                            <tr>
                                <td align="center" style="width: 100%;">
                                    <span id="msg2" style="font: 10pt Arial; color: #000; text-align: center; width: 100%">
                                    </span>
                                </td>
                            </tr>
                        </table>
                        <table width="100%" style="display: none;">
                            <tr>
                                <td style="font: 10pt Arial;" width='90%' style="display: none;">
                                    Powered by: <span id="IMGcrossfire" style="display: none;"></span>
                                </td>
                                <td align="right">
                                    <span id="IMGHousing" style="display: none;"></span>&nbsp;<span id="IMGHandicap"
                                        style="display: none;"></span>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </font>
    </div>
    <div class="IFrameButtons">
        <table id="buttons" border="0">
            <tr>
                <td width="80%">
                </td>
                <td>
                    <%call Controls_CreateButton("btnSend","Send","doSend()","","","")%>
                </td>
                <td>
                    <%call Controls_CreateButtonCustom("btnCancel","Cancel","top.hideDialog(window.returnValue, window, bUsingIframe);","","","","","/components_cb/images/button_x.gif",false,"")%>
                </td>
            </tr>
        </table>
    </div>
</body>

<script type="text/javascript">
    $(window).load(function() {
        initialize();
        InitialLoad_Start();
    });
    var oCBConverted = { 'ie': true, 'firefox': true, 'chrome': true, 'safari': true };
</script>

</html>
